using System;
using UnityEngine;

namespace MaterialUI
{
	[Serializable]
	public class OptionData
	{
		[SerializeField]
		private string m_Text;

		[SerializeField]
		private ImageData m_ImageData;

		private Action m_OnOptionSelected;

		public string text
		{
			get
			{
				return m_Text;
			}
			set
			{
				m_Text = value;
			}
		}

		public ImageData imageData
		{
			get
			{
				return m_ImageData;
			}
			set
			{
				m_ImageData = value;
			}
		}

		public Action onOptionSelected
		{
			get
			{
				return m_OnOptionSelected;
			}
			set
			{
				m_OnOptionSelected = value;
			}
		}

		public OptionData()
		{
		}

		public OptionData(string text, ImageData imageData, Action onOptionSelected = null)
		{
			m_Text = text;
			m_ImageData = imageData;
			m_OnOptionSelected = onOptionSelected;
		}
	}
}
